package com.example.flex.mapper.generator;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: 不是菜鸡爱编程
 * @Date: 2023/10/27/7:34
 * @Description:
 */
@Mapper
public interface DatabaseMapper {
    @Select("select table_schema from information_schema.tables group by table_schema order by table_schema asc")
    List<String> listDatabaseName();
}
